<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>容器</title>
    <!--引入必须的资源文件-->
    <link rel="stylesheet" href="../css/bootstrap.css">
    <script type="text/javascript" src="../js/jquery-3.3.1.js"></script>
    <script type="text/javascript" src="../js/bootstrap.js"></script>
    <style>
        div{
            height: 200px;
            background: blueviolet;
        }
    </style>
</head>
<body>
    <div class="container">半屏</div>
    <hr/>
    <div class="container-fluid">全屏</div>

</body>
</html>